PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFContentStream Class / setTextFontAndSize Method
Current font.
Current font size.
In This Topic
    setTextFontAndSize Method
    In This Topic
    Sets the current font and size for text show operators. Operator: Tf
    Syntax
    public void setTextFontAndSize( 
       PDFFont font,
       double size
    )

    Parameters

    font
    Current font.
    size
    Current font size.
    Exceptions
    ExceptionDescription
    When font is null.
    See Also